package com.cmpan.networkdisk.service;

import com.cmpan.networkdisk.model.Type;

import java.util.List;

/**
 * ClassName:TypeService
 * Package:com.cmpan.networkdisk.service
 * Description:
 *
 * @Date:2020/7/12 7:53
 * @com.chuangmei
 */
public interface TypeService {

    //查询所有的type
    List<Type> getAllType();

    //通过主键查询
    Type queryByPrimary(Long id);

    //通过主键修改
    int updateByPrimary(Type type);

    int deleteByPrimary(Long valueOf);

    int addType(Type type);
}
